<template>
  <div class="cartList">
    <cart-list-item
      v-for="item in cartList"
      :key="item.iid"
      :cartList="item"
    ></cart-list-item>
  </div>
</template>

<script>
import { mapGetters } from "vuex";

import cartListItem from "./cartListItem";

export default {
  name: "cartList",
  components: {
    cartListItem,
  },
  computed: {
    ...mapGetters({
      cartList: "cartList",
    }),
  },
};
</script>

<style scoped>
</style>